<?php
/**
 * @author     ：lhw
 * @date       ：Created in 2019/8/4 19:10
 */

namespace app\api\model;


class OrderDetail extends BaseModels
{
    public function drug(){
        return $this->hasOne('Drug','id','drug_id');
    }

}